::view-transition-new(root),
::view-transition-old(root) {
  animation: none !important;
}

html.dark {
  &::view-transition-old(root) {
    z-index: 99999;
  }
}

:root {
  --bg-color: #fff;
  background-color: var(--bg-color);
}
:root.dark {
  --bg-color: #000;
}
